<div class="codehilite"><pre><span></span><code><span class="k">if</span> <span class="kc">True</span><span class="p">:</span>
    <span class="nb">print</span> <span class="s2">&quot;hi&quot;</span>
</code></pre></div>

<p>That's using the <em>fenced-code-blocks</em> extra with Python
syntax coloring, if <code>pygments</code> is installed. See
<a href="http://github.github.com/github-flavored-markdown/">http://github.github.com/github-flavored-markdown/</a>.</p>

<div class="codehilite"><pre><span></span><code><span class="k">def</span> <span class="nf">foo</span>
    <span class="nb">puts</span> <span class="s2">&quot;hi&quot;</span>
<span class="k">end</span>
</code></pre></div>
